<div style="
    height: 200px;
    -webkit-writing-mode: vertical-lr;
    font-family: HiraMinProN-W3;
    font-size: 36px;
">
    <span id="target" style="-webkit-text-combine: horizontal;">1234</span>
</div>
<script>
    document.body.offsetTop;
    document.getElementById("target").style.marginBottom = "5px";
</script>
